lcWndGetEntByKey Home

Returns a handle to the entity which LC_PROP_ENT_KEY property matches the specified value. The functions searches in the block currenly linked with specified window.

 HANDLE lcWndGetEntByKey (
   HANDLE hLcWnd,
   int Key
 );

Parameters
hLcWnd
  Handle to LiteCAD graphics window.
Key
  Value of LC_PROP_ENT_KEY property.

Return Value

  Handle to a graphic object.
If an object with specified identifier is not found, the function returns NULL.

See Also

  lcWndGetEntByIDlcBlockGetEntByKeylcDrwGetEntByKey